const { mongoose } = require('../module/db')

const Schema = mongoose.Schema

const UserType = {
    phone: String,
    key: String,
    name: String,
    imgSrc: String,
    address:String,
}

const UserModel = mongoose.model('user', new Schema(UserType), 'user')

module.exports = UserModel
